package org.jeecg.common.util.constants;

/**
 * @author guoyh
 * @ClassName WxConstants
 * @Description
 * @since 2020/8/16 15:36
 **/
public interface WxConstants {

    String DOCTOR_QRCODE_PRE = "DOC_QRCODE_";
    String WX_DOCTOR_QRCODE_PRE = "qrscene_DOC_QRCODE_";
    //转发给大医智慧老应用
    String FORWARD = "FORWARD";

    /**
     * 医生二维码
     */
    String DOCTOR_QRCODE_TEMPLATE = "DOC_QRCODE_%s";

    /**
     * 获取二维码地址
     */
    String WX_QR_CODE_URL = "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=%s";


    /**
     * 接收微信消息返回错误
     */
    String REPLAY_ERROR_MESSAGE = "error";

    /**
     * 用户未关注公众号标识
     */
    String UN_SUB = "0";

    /**
     * 微信下单接口成功码
     */
    String SUCCESS = "SUCCESS";

    String XML_TEMPLATE = "<xml>\n" +
            "  <return_code><![CDATA[%s]]></return_code>\n" +
            "  <return_msg><![CDATA[%s]]></return_msg>\n" +
            "</xml>";

    String CUSTOMER_TEXT_MESSAGE_TEMPLATE = "%s，发来一条消息:“%s”\n<a href=\"%s\">>>点击回复TA</a>";

    //http://test.weixin.dyzh120.com/chat/${ im_groupid } ?id= ${ doctorId }

}
